<template>
  <div class="gray-container">
    <div class="resume-container">
      <!-- 简历详情 -->
      <m-resumeDetail></m-resumeDetail>
      <!-- 互动记录 -->
      <m-record></m-record>
    </div>
  </div>
</template>

<script>
import ResumeDetail from './components/main'
import Record from './components/record'
  export default {
    components: {
      'm-resumeDetail': ResumeDetail,
      'm-record': Record
    },
    data () {
      return {

      }
    }
  }
</script>
 
<style lang="scss">
  .gray-container{
    width: 100%;
    height: 100%;
    display: flex;
    background: #f0eef1;
  }
  .resume-container{
    width: 100%;
    padding: 30px 20px 36px;
    display: flex;
    flex-grow: 0;
    flex-direction: row;
    .record-box{
      flex-grow: 0;
      width: 300px;
      height: 100%;
      margin-left: 8px;
      background: #f9f9f9;
    }
  }
  .resume-main{
    display: flex;
    flex: 1;
    height: 100%;
    background: #fff;
    position: relative;
    .corner{
      position: absolute;
      top: 0;
      right: 0;
      background: url('~@/assets/images/corner.png') no-repeat;
      width: 121px;
      height: 159px;
      z-index: 8;
    }
    .info{
      padding: 25px;
      .title{
        height: 22px;
        padding-bottom: 8px;
        border-bottom: 1px solid #000;
        span{
          margin-left: 5px;
          line-height: 22px;
          font-size: 16px;
          color: #333;
          vertical-align: middle;
        }
      }
      .main {
        width: 100%;
        position: relative;
        .content{
          margin-right: 150px;
          display: flex;
          flex-wrap: wrap;
          padding-top: 20px;
          align-items: flex-start;
          .item{
            width: 250px;
            flex-grow: 0;
            margin: 5px 0;
            color: #919191;
            p{
              display: inline-block;
              min-height: 32px;
              vertical-align: middle;
              .cor-orange{
                color: #d2691e
              }
            }
            .tag{
              display: inline-block;
              height: 24px;
              line-height: 24px;
              border: 1px solid #d1d1d1;
              padding: 0 10px;
              color: #4ca227;
              margin-right: 8px;
              cursor: default;
            }
            .icon-contact-wx,.icon-contact-mobile,.icon-contact-email{
              position: relative;
              top: -8px;
            }
            .text-nowrap{
              max-width: 160px
            }
          }
          .item.inline{
            width: 100%;
          }
        } 
        .head{
          position: absolute;
          right: 0px;
          top: 20px;
          width: 140px;
          height: 100%;
          z-index: 10; 
          img{
            margin-bottom: 10px;
          }  
          p{
            color: #797979;
            font-size: 12px;
            line-height: 20px;
          }       
        }
      }
    }
    .detail{
      padding: 0 20px 20px;
      .el-tabs--card>.el-tabs__header{
        border-bottom-color: #000;
      }
      .el-tabs--card>.el-tabs__header .el-tabs__item{
        border: 0;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
      }
      .el-tabs--card>.el-tabs__header .el-tabs__nav{
        border: 0;
      }
      .el-tabs--card>.el-tabs__header .el-tabs__item.is-active{
        background: #0073dd;
        color: #fff;
      }
      .detail__block{
        display: flex;
        .time-line{
          flex-grow: 0;
          width: 175px;
          border-right: 1px solid #d2d2d2;
          text-align: right;
          box-sizing: border-box;
          padding-right: 20px;
          .icon{
            margin-left: 10px;
          }
          span{
            line-height: 34px;
            font-size: 16px;
            color: #515151;
          }
        }
        .box{
          flex: 1;
          padding: 10px 20px 40px 50px;
          color: #919191;
        }
      }
    }
    .panel{
      position: absolute;
      width: 100%;
      bottom: 0px;
      .panel-switch{
        position: absolute;
        width: 185px;
        height: 34px;
        bottom: -34px;
        background: url('~@/assets/images/panel_switch_bg.png') no-repeat center center;
        left: 50%;
        transform: translateX(-50%);
        cursor: pointer;
        .panel-switch__label{
          text-align: center;
          font-size: 15px;
          line-height: 15px;
          margin-top: 10px;
          color: #fff;
        }
      }
      .panel-box{
        padding: 15px 10% 10px;
        background: #575657;
        .ui-button{
          margin:0 7px 5px;
        }
      }
    }
  }
</style>
